package com.itechart.watchfacts.controller;

import com.itechart.watchfacts.service.GeneralService;
import org.springframework.ui.Model;

/**
 * Created by IntelliJ IDEA.
 * User: E.Krasnotschek
 * Date: 7/31/13
 * Time: 6:40 AM
 * To change this template use File | Settings | File Templates.
 */
public abstract class ControllerBase<T> {

    protected GeneralService<T> service;

    protected String listView;
    protected String listUrl;
    
    protected String modelAttrCreate;
    protected String modelAttrList;

    public abstract String list(Model model);
    public abstract String create(Model model);
    public abstract String delete(int id);

}
